package client.comm.baoding.ui

import android.content.Intent
import client.comm.baoding.R
import client.comm.baoding.adapter.page.OrderJlFragmentPageAdapter
import client.comm.baoding.databinding.ActivityOrderjlBinding
import client.comm.baoding.ui.vm.OrderJlViewModel
import client.comm.baoding.BaseMiddleActivity

/**
 * 待释放记录
 */
class OrderJlActivity : BaseMiddleActivity<OrderJlViewModel, ActivityOrderjlBinding>() {
    override fun getLayout(): Int {
        return R.layout.activity_orderjl
    }

    val adapter: OrderJlFragmentPageAdapter by lazy {
        OrderJlFragmentPageAdapter(supportFragmentManager)
    }

    override fun initViewModel(): OrderJlViewModel = createViewModel()

    override fun initView() {
        binding.event = this
        binding.viewPager.adapter = adapter
        binding.tabLayout.setupWithViewPager(binding.viewPager)

    }

    fun sfjl() {
//        startActivity(Intent(this, SfJlActivity::class.java))
    }
}